# -*- coding: utf-8 -*-
import  datetime
def getCurrentTime( frm = "%Y-%m-%d %H:%M:%S"):
    dt = datetime.datetime.now()
    return dt.strftime( frm )

def getCurrentDate(frm = "%Y-%m-%d"):
    dt = datetime.datetime.now()
    return dt.strftime( frm )